
using Qdb.Internal;
using Qdb.Internal.Handlers.Versions;
using Qdb.Marshall;
using Qdb.Typehandlers;

namespace Qdb.Internal.Handlers.Versions
{
	/// <exclude></exclude>
	public class OpenTypeHandler2 : OpenTypeHandler7
	{
		public OpenTypeHandler2(ObjectContainerBase container) : base(container)
		{
		}

		protected override void SeekSecondaryOffset(IReadBuffer buffer, ITypeHandler4 typeHandler
			)
		{
			if (Handlers4.HandlesPrimitiveArray(typeHandler))
			{
				buffer.Seek(buffer.ReadInt());
			}
		}
	}
}
